<style scoped>
    .head {
        position: fixed;
        z-index: 999;
        height: 60px;
        top: 0;
        left: 0;
        right: 0;
        border-bottom: 1px solid indianred;
        background-color:indianred;
        line-height: 60px;
    }
    .side {
        width: 15%;
        border-bottom: 1px solid burlywood;
        border-right: 1px solid burlywood;
        position: relative;
        top: 60px;
        float: left;
        /* padding-left: 10px; */
        padding-bottom: 60px 
    }
    .content {
        position: relative;
        top: 60px;
        float: right;
        /* background-color:darkcyan; */
        width: 85%;
    }
    .footer {
        position:fixed;
        height: 40px;
        background-color:darkorange;
        bottom: 0;
        left:0;
        right:0;
        text-align: center;
        line-height: 40px;
    }
    .lis {
        border-bottom: 1px solid burlywood;
        padding: 10px;
    }


</style>
<template>
    <div>
        <!-- 头部 -->
        <div class="head">
            <div style="margin-right:50px;float:right">
                <router-link to="/login" >登录</router-link>
                <router-link to="" >注册</router-link>
            </div>
        </div>
        <div style="width:100%">
            <!-- 侧边栏 -->
            <div class="side">
                <div class="lis"><router-link to="/user/index">用户管理</router-link></div>
                <div class="lis">物料管理</div>
                <div class="lis">资产管理</div>
            </div>
            <!-- content -->
            <div class="content">
                <router-view/>
            </div>
        </div>
        <!-- footer -->
        <div class="footer">
            <div>2018-2019@版权所有，为伴必究</div>
        </div>


    </div>
</template>
<script>
export default {
    data () {
        return {

        }
    }
}
</script>


